# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         filter
# Description:
# Author:       98745
# Date:         2019/3/10
#-------------------------------------------------------------------------------

import os
import sys
import re
test=sys.stdin.read()
files=test.split(os.linesep)
for file in files:
    r=re.match('.*readme.*',file)
    if r!=None:
        print(file)
